import 'package:flutter/material.dart';
import 'package:kasax_demos2/widgets/icon_badge.dart';


/// 自定义徽章
class IconBadgeDemo extends StatelessWidget {
  const IconBadgeDemo({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.all(16),
      child: Column(
        children: [
          IconBadge(Icons.view_agenda),
          SizedBox(
            height: 15,
          ),
          IconBadge(Icons.add),
          SizedBox(
            height: 15,
          ),
          IconBadge(
            Icons.panorama_photosphere,
            size: 64,
          ),
        ],
      ),
    );
  }
}
